/*
 * Project Name spring-boot-tools
 * File Name TestLauncher
 * Package Name com.huxiaosu.tools.mybatis
 * Create Time 2024/7/9
 * Create by name：liujie
 */
package com.huxiaosu.tools.mybatis.demo;

import com.huxiaosu.tools.common.service.LauncherService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.core.Ordered;

/**
 * Description
 *
 * @author liujie
 * @date 2024/7/9 15:53
 */
@Slf4j
public class TestLauncherServiceImpl implements LauncherService {
    @Override
    public void launcher(SpringApplicationBuilder builder, String appName) {
        log.info("这个就是启动之前可以做一些特殊的配置");
        log.info("appName = {}",appName);


    }
    @Override
    public int getOrder() {
        return Ordered.LOWEST_PRECEDENCE;
    }
}